<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>登录</title>

        <!-- CSS -->
        <script src="/TPproject/project/Public/Admin/Js/jquery-1.7.2.min.js" type="text/javascript"></script>
        <script type="text/javascript" src="/TPproject/project/Public/Admin/Js/layer.js"></script>
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/commen.css" />
        <script type="text/javascript" src="/TPproject/project/Public/Home/Js/area.js" ></script>
        <script type="text/javascript" src="/TPproject/project/Public/Admin/static/h-ui/js/H-ui.min.js"></script><script type="text/javascript" src="/TPproject/project/Public/Admin/static/h-ui.admin/js/H-ui.admin.js"></script>
        
        <?php if($action == login): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/login.css" /><script type="text/javascript" src="/TPproject/project/Public/Home/Js/login.js" ></script>
        <script type="text/javascript" src="/TPproject/project/Public/Home/Js/login_user.js" ></script><?php endif; ?>

        <?php if($action == register): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/register.css" /><?php endif; ?>
        <?php if($action == order): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/user.css" /><script type="text/javascript" src="/TPproject/project/Public/Home/Js/register.js" ></script><?php endif; ?>

        <?php if($action == index and $controller == Index): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/index.css" /><script type="text/javascript" src="/TPproject/project/Public/Home/Js/index.js" ></script><?php endif; ?>
        <?php if($action == shop_cart): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/shop_cart.css" /><script type="text/javascript" src="/TPproject/project/Public/Home/Js/shop_cart.js" ></script><script type="text/javascript" src="/TPproject/project/Public/Home/Js/login_user.js" ></script><?php endif; ?>
        <?php if($action == address): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/address.css" /><script type="text/javascript" src="/TPproject/project/Public/Home/Js/login_user.js" ></script><?php endif; ?>
        
        <?php if($action == pay): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/pay.css" /><script type="text/javascript" src="/TPproject/project/Public/Home/Js/pay.js" ></script><?php endif; ?>
        
        <?php if($action == pay_failure): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/pay_failure.css" /><script type="text/javascript" src="/TPproject/project/Public/Home/Js/login_user.js" ></script><?php endif; ?>

        <?php if($action == pay_success): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/pay_success.css" /><script type="text/javascript" src="/TPproject/project/Public/Home/Js/login_user.js" ></script><?php endif; ?>
        
        <!-- <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/address.css" />
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/comments.css"/>
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/comments_details.css" />
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/confirm_order.css" />
        
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/order.css" />
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/order_details.css" />
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/pay.css" />
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/pay_failure.css" />
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/pay_success.css" />
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/pro_details.css" /> -->
        
        <!-- 
        <link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/shop_list.css" />
         -->

        <?php if($action == order_details): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/order_details.css" /><script type="text/javascript" src="/TPproject/project/Public/Home/Js/order_details.js" ></script>
        <script type="text/javascript" src="/TPproject/project/Public/Home/Js/login_user.js" ></script><?php endif; ?>

        <?php if($action == confirm_order): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/confirm_order.css" /><script type="text/javascript" src="/TPproject/project/Public/Home/Js/confirm_order.js" ></script>
        <script type="text/javascript" src="/TPproject/project/Public/Home/Js/login_user.js" ></script><?php endif; ?>



        <!-- JS -->
        

        
       
        
        <?php if($action == goo_details): ?><link rel="stylesheet" type="text/css" href="/TPproject/project/Public/Home/Css/pro_details.css" />
        <script type="text/javascript" src="/TPproject/project/Public/Home/Js/pro_details.js" ></script>
        <script type="text/javascript" src="/TPproject/project/Public/Home/Js/login_user.js" ></script><?php endif; ?>
        
        <!-- <script type="text/javascript" src="/TPproject/project/Public/Home/Js/jquery-2.1.1.js" ></script> -->
        <!-- <script type="text/javascript" src="/TPproject/project/Public/Home/Js/pay.js"></script>
        <script type="text/javascript" src="/TPproject/project/Public/Home/Js/pro_details.js" ></script> -->
        
        <!-- <script src="/TPproject/project/Public/Admin/Js/jquery.validation/jquery.validate.js" type="text/javascript"></script> -->

        <!-- <if></if> -->
    </head>
 
<body>
        <div class="header">
            <div class="header-top">
                <div class="navigation">
                    <ul>
                        <li><a href="#">网站导航</a></li>
                        <li><a href="#">客户服务</a></li>
                        <li><a href="<?php echo U('Home/User/order');?>">会员中心</a></li>
                        <li><a href="<?php echo U('Home/Goods/shop_cart');?>">购物车</a></li>
                        <li><a href="#">我的收藏</a></li>
                        <li><a href="#">我的贺曼</a></li>
                        <?php if(!empty(session('user_id'))): ?><li><a href="<?php echo U('Home/Login/logout');?>">退出</a></li>
                            <li><a><?php echo ($username); ?> 欢迎！</a></li>

                        <?php else: ?>
                            <li><a href="<?php echo U('Home/Login/register');?>">注册</a></li>
                            <li><a href="<?php echo U('Home/Login/login');?>">登录</a></li><?php endif; ?>
                    </ul>
                </div>
            </div>
            <div class="header-conter">
                <a href="index.html" class="left"><img src="/TPproject/project/Public/Home/Images/logo.jpg"></a>
                <div class="middle">
                    <div class="search">
                        <input type="text" class="btn" />
                        <span>搜索</span>
                    </div>
                    <i>大家都在搜：<a href="pro_details.html">连衣裙</a>  <a href="pro_details.html">连体衣 </a> <a href="pro_details.html">儿童毯</a>  <a href="pro_details.html">帽子</a></i>
                </div>
                <a class="right"><img src="/TPproject/project/Public/Home/Images/index01.jpg"></a>
            </div>
            <div class="header-bottom">
                <div class="menu">
                    <ul>
                        <li><a href="<?php echo U('Home/Index/index');?>">首页</a></li>
                        <li><a href="shop_list.html">特惠购</a></li>
                        <li><a href="shop_list.html">闪购</a></li>
                        <li><a href="shop_list.html">新品抢购</a></li>
                        <li><a href="shop_list.html">全球购</a></li>
                    </ul>
                </div>
                
            </div>
        </div>
        <div class="nav">

            <div class="sub-nav">
                <div class="pro-classify">
                    <h2>全部产品分类</h2>
                    <ul>
                        <li>
                            <a class="tx">
                                婴幼儿服装>
                            </a>
                            <div class="pro">
                                <dl>
                                    <dt>连体衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>套装&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>内衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                            </div>
                        </li>
                        <li class="a2">
                            <a class="tx">男童服装></a>
                            <div class="pro">
                                <dl>
                                    <dt>2连体衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>套装&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>内衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                            </div>
                        </li>
                        <li class="a3">
                            <a class="tx">女童服装></a>
                            <div class="pro">
                                <dl>
                                    <dt>3连体衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>套装&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>内衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                            </div>
                        </li>
                        <li class="a4">
                            <a class="tx">儿童配饰></a>
                            <div class="pro">
                                <dl>
                                    <dt>4连体衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>套装&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>内衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                            </div>
                        </li>
                        <li class="a5">
                            <a class="tx">婴儿家居></a>
                            <div class="pro">
                                <dl>
                                    <dt>5连体衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>套装&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>内衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                            </div>
                        </li>
                        <li class="a6">
                            <a class="tx">儿童家居></a>
                            <div class="pro">
                                <dl>
                                    <dt>6连体衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>套装&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>内衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                            </div>
                        </li>
                        <li class="a7">
                            <a class="tx">其他></a>
                            <div class="pro">
                                <dl>
                                    <dt>7连体衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>套装&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a>
                                        <a>短袖三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>内衣&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>裙子&gt;</dt>
                                    <dd>
                                        <a>纯棉无袖</a>
                                        <a>纯棉有袖</a>
                                        <a>爬爬服</a>
                                        <a>背心三角</a> 
                                    </dd>
                                </dl>
                            </div>
                        </li>
                    </ul>
                </div>
                <!--pro-classify-->
            </div>  
        </div>

		<div class="conter">
			<div class="login-back">
				<img src="/TPproject/project/Public/Home/Images/login-bigback.png" />
			</div>
			<div class="middle">
				<a class="back"><img src="/TPproject/project/Public/Home/Images/login-mid-back.png" /></a>

				<form class="mid-con" id="rgt" method="post">
					<div class="box">
						<label>用户名：</label>
						<input type="text" name="username" id="username" placeholder="用户名/邮箱/手机号/会员卡号" />
						<p id="name">亲，格式不对哦！</p>
						<p id="cxname">亲，该会员名称已被注册！</p>
					</div>
					<div class="box">
						<label>设置密码：</label>
						<input type="password" id="password" name='password' placeholder="请输入密码" />
						<p id="mima">亲，请输入6~16位密码！</p>
						<p id="mimagou">√</p>
					</div>
					<div class="box">
						<label>确认密码：</label>
						<input type="password" id="qrpassword" name='qrpassword' placeholder="请输入密码" />
						<p id="mimaer">亲，密码不一致哦！</p>
						<p id="qrmima">亲，请确认密码！</p>
						<p id="mimaergou">√</p>
					</div>
					<div class="box">
						<label>手机号：</label>
						<input type="text" id="phone" name='phone' placeholder="请输入手机号" />
						<p id="sj">亲，手机号不能为空哦！</p>
						<p id="zqsj">亲，请输入正确号码！</p>
					</div>
					<div class="verification">
						<label>验证码：</label>
						<input type="text" id="verification" name='verification' placeholder="请输入验证码" />
						<img id="verify" src="<?php echo U('Home/Login/Verify');?>" onclick="this.src=this.src" width="130" height="50" align="center" style="padding:0 0 5px 20px;cursor: pointer;">
						<button>获取验证码</button>

						<b id="yzmcuo">验证码错误</b>
					</div>
					<div class="box" style="margin-left: 25px;">
						<label>E-mail：</label>
						<input type="text" id="E-mail" name='email' placeholder="请输入注册邮箱" />
						<p id="post">亲，请正确填写邮箱！</p>
					</div>
					<div class="treaty">

						<label>
						
							<input id="treaty" type="checkbox" />
							我已阅读并接受《贺曼在线服务协议》
							</label>
					</div>

					<div class="box">

						<button id="register">立即注册</button>
						
					</div>
				</form>

			</div>
		</div>

		<script type="text/javascript">
		 
		 	



			$("#register").click(function(){
					var treaty = $("#treaty").val();
					if(treaty){
						var formdata = $("#rgt").serialize();
						$.ajax({
							url: '',
							type:'post',
							dataType:'json',
							data:formdata,
							success:function(data){
								if(data.code == 0){
									alert(data.info);
									$("#verify").click();
									return false;
								}else{
									alert(data.info);
									window.location.href="<?php echo U('login');?>";
									return false;
								}
								
							},
							error:function(data){

							}

						})
						return false;
					}else{
						return false;
					}
					
				})




				// $(".verification button").click(function(){
				// 	var str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
				// 	var n = 4, s = "";
				// 	for(var i = 0; i < n; i++){
				// 	    var rand = Math.floor(Math.random() * str.length);
				// 	    s += str.charAt(rand);
				// 	}
				// 	$(".verification button").text(s);
				// })
				
				
				
			
		</script>
	</body>
</html>

<div class="footer">
			<div class="footer-top">
				<a class="code-left"><img src="/TPproject/project/Public/Home/Images/code01.jpg"><span>官方微信</span></a>
				<a class="code-right"><img src="/TPproject/project/Public/Home/Images/code02.jpg"><span>官方微博</span></a>
				<ul>
					<li>
						<i>7</i>
						<span>七天无理由退货</span>
					</li>
					<li>
						<i>优</i>
						<span>品质保证</span>
					</li>
					<li>
						<i>特</i>
						<span>特色服务体验</span>
					</li>
					<li>
						<i>？</i>
						<span>帮助中心</span>
					</li>
				</ul>
			</div>
			
			<!--footer-top-->
			<div class="footer-bottom">
				<p>
					<a href="about.html"><i>关于我们 </i></a>
					<a href="#"><i>购物袋 </i></a>
					<a href="#"><i>我的账户</i></a>
					<a href="#"><i>顾客查询</i></a>
					<a href="#"><i>产品优点</i></a>
					<a href="#"><i>零售网络</i></a>
					<a href="contact_us.html"><i>联络我们</i></a>
					<a href="#">Hallmark Babies 官方网站 Officia</a>
					<a href="#">Website</a>
				</p>
				<p><a class="left">Copyright © 2009-2016 MYBABYKID.COM 版权所有 </a><a href="#" class="right">使用条款 | 隐私及安全条例</a></p>
				<p> © Hallmark Cards, Inc.</p>
				<div class="attention">
					<p>立即关注</p>
					<p>最新产品</p>
					<p>优惠信息发布</p>
				</div>
			</div>
		</div>
	</body>
	<script>
		//选框
		$(".remember label").click(function(){
			if($(this).find("input").is(":checked")){
				$(this).find("input").removeAttr("checked")
				$(this).removeClass("on")
			}else{
				$(this).find("input").prop("checked","checked")
				$(this).addClass("on")
			}
		})
	window.onload = function(){
	loadStorage()
	if($(".remember label input").is(":checked")){
		
		$(".remember label").addClass("on")
	}else{
		
	}
}
	
	</script>
</html>

    
  
<script src="/TPproject/project/Public/Admin/Js/bootstrap.js" type="text/javascript">
    $("[rel=tooltip]").tooltip();
    $(function() {
        $('.demo-cancel-click').click(function(){return false;});
    });
</script>